package com.hk.commons.entity.order;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 
 * Title:OrderRouteInfo
 * Description:订单路由表 
 * Company:HK  
 * @author Sam
 * @date 2016年5月4日上午9:24:23
 */
@Entity
@Table(name = "t_order_route")
public class OrderRouteInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8232059053732362990L;

	@Id
	private Long id;

	/**
	 * 用户的ID
	 */
	private Long userId;

	/**
	 * 订单所属盈米、火柴、海距 账户ID
	 */
	private String accountId;
	/**
	 * 订单流水号
	 */
	private String brokerOrderNo;

	/**
	 * 所属企业ID
	 */
	private Integer companyId;

	/**
	 * 产品ID
	 */
	private Long productId;
	/**
	 * 订单创建时间
	 */
	private Long cts;

	/**
	 * 订单ID
	 */
	private Long orderId;

	/** 理财师ID */
	private Long financialPlannerId;
	
	/**
	 * 订单确认状态  -1表示赎回
	 */
	private Integer status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getBrokerOrderNo() {
		return brokerOrderNo;
	}

	public void setBrokerOrderNo(String brokerOrderNo) {
		this.brokerOrderNo = brokerOrderNo;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getCts() {
		return cts;
	}

	public void setCts(Long cts) {
		this.cts = cts;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getFinancialPlannerId() {
		return financialPlannerId;
	}

	public void setFinancialPlannerId(Long financialPlannerId) {
		this.financialPlannerId = financialPlannerId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	
}
